package org.neptune.service.service;

import java.util.Map;

import org.neptune.api.request.LoginRequest;

public interface CaptchaService {

	/**
	 * 获取图片等信息
	 * 
	 * @return
	 */
	Map<String, Object> getImageVerifyCode() throws Exception;

	/**
	 * 校验图片验证码
	 * 
	 * @param loginRequest
	 * @return
	 */
	boolean verifyImageCode(LoginRequest loginRequest);
}
